package com.liao.badminton.mapper;

import com.liao.badminton.code.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.liao.badminton.entity.SystemUsers;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
* @author liaocheng
* @date 2024-10-31
* description:用户信息表
*/
@Mapper
public interface SystemUsersMapper extends BaseMapper<SystemUsers> {
    int updateBy(SystemUsers systemUsers);
    int add(SystemUsers systemUsers);
    List<SystemUsers> findByPageParam(PageParam<SystemUsers> systemUsersPageParam);
    int countByPageParam(PageParam<SystemUsers> systemUsersPageParam);
    int deletes(@Param("ids") List<Long> ids);
    List<SystemUsers> findByIds(@Param("ids") List<Long> ids);
    void addBatch(List<SystemUsers> list);
    SystemUsers findById(@Param("id") Long id);
    List<SystemUsers> findByParam(@Param("param") SystemUsers param);
}
